PgSqlArray Constructor(PgSqlType,Int32,Int32[])
Initializes a new instance of the
PgSqlArray class with the specified element type and dimensions.
This sample creates two-dimensional array with three sub-arrays, each has two elements. String representation of array that can be received with the ToString method will be the following:
{{NULL,NULL},{NULL,NULL},{NULL,NULL}}
PgSqlArray arr = new PgSqlArray(PgSqlType.Int, 2,3,2);
Console.Write(arr);
Dim arr As PgSqlArray = New PgSqlArray(PgSqlType.Int, 2, 3, 2)
Console.Write(arr)